home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
program
/
swaga_c.zip
/
COMM.SWG
/
0019_Get number of RS232 Ports.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-08-18
|
252b
|
10 lines
FUNCTION Serial_Ports : byte;
{ DESCRIPTION:
Gets the number of RS232 ports available in a system.
SAMPLE CALL:
NB := Serial_Ports; }
BEGIN { Serial_Ports }
Serial_Ports := (MemW[$0000:$0410] shl 4) shr 13;
END; { Serial_Ports }